import request from '@/utils/request'
/**
 *
 * 人格管理
 *
 **/

export function getPersonalityDetail(mbti) {
  return request({
    url: '/role/delita',
    method: 'get',
    params: { mbti }
  })
}
export function getPersonalityDetailBySno(sno) {
  return request({
    url: '/test',
    method: 'get',
    params: { sno }
  })
}


 //查询
 export const getAll = (params: any) =>
  request({
    'url': `/role`,
    'method': 'get',
    params
  })
 
